//
//  DFProductsProductParameterModel.m
//  DFront
//
//  Created by lanou on 15/10/26.
//  Copyright © 2015年 xuzenghui. All rights reserved.
//

#import "DFProductsProductParameterModel.h"

@implementation DFProductsProductParameterModel


- (instancetype)init
{
    if (self = [super init]) {
        _arr = [NSMutableArray array];
    }
    return self;
}

-(void)setValue:(id)value forKey:(NSString *)key
{
    if ([key isEqualToString:@"paramArr"]) {
        for (NSDictionary *dic in value) {
            _paramArr = [[DFProductsProductsortParam alloc]init];
        [_paramArr setValuesForKeysWithDictionary:dic];
        [_arr addObject:_paramArr];
        }
    }
    else
    {
        [super setValue:value forKey:key];
    }
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}


@end
